package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the PARTIDAS_ELIMINADAS database table.
 * 
 */
//@Entity
//@Table(name="PARTIDAS_ELIMINADAS")
public class PartidasEliminada implements Serializable {
	private static final long serialVersionUID = 1L;
	private String agntSync;
	private String areaRegId;
	private String coLibrOrig;
	private String coPais;
	private String codLibro;
	private String estado;
	private BigDecimal numAcumAsie;
	private BigDecimal numAcumPag;
	private String numPartida;
	private String oficRegId;
	private BigDecimal refnumPart;
	private String regPubId;
	private Date tsInscrip;
	private Date tsUltSync;

    public PartidasEliminada() {
    }


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="AREA_REG_ID", nullable=false, length=5)
	public String getAreaRegId() {
		return this.areaRegId;
	}

	public void setAreaRegId(String areaRegId) {
		this.areaRegId = areaRegId;
	}


	@Column(name="CO_LIBR_ORIG", length=3)
	public String getCoLibrOrig() {
		return this.coLibrOrig;
	}

	public void setCoLibrOrig(String coLibrOrig) {
		this.coLibrOrig = coLibrOrig;
	}


	@Column(name="CO_PAIS", length=3)
	public String getCoPais() {
		return this.coPais;
	}

	public void setCoPais(String coPais) {
		this.coPais = coPais;
	}


	@Column(name="COD_LIBRO", nullable=false, length=3)
	public String getCodLibro() {
		return this.codLibro;
	}

	public void setCodLibro(String codLibro) {
		this.codLibro = codLibro;
	}


	@Column(nullable=false, length=1)
	public String getEstado() {
		return this.estado;
	}

	public void setEstado(String estado) {
		this.estado = estado;
	}


	@Column(name="NUM_ACUM_ASIE", precision=5)
	public BigDecimal getNumAcumAsie() {
		return this.numAcumAsie;
	}

	public void setNumAcumAsie(BigDecimal numAcumAsie) {
		this.numAcumAsie = numAcumAsie;
	}


	@Column(name="NUM_ACUM_PAG", precision=5)
	public BigDecimal getNumAcumPag() {
		return this.numAcumPag;
	}

	public void setNumAcumPag(BigDecimal numAcumPag) {
		this.numAcumPag = numAcumPag;
	}


	@Column(name="NUM_PARTIDA", nullable=false, length=8)
	public String getNumPartida() {
		return this.numPartida;
	}

	public void setNumPartida(String numPartida) {
		this.numPartida = numPartida;
	}


	@Column(name="OFIC_REG_ID", nullable=false, length=2)
	public String getOficRegId() {
		return this.oficRegId;
	}

	public void setOficRegId(String oficRegId) {
		this.oficRegId = oficRegId;
	}


	@Column(name="REFNUM_PART", nullable=false)
	public BigDecimal getRefnumPart() {
		return this.refnumPart;
	}

	public void setRefnumPart(BigDecimal refnumPart) {
		this.refnumPart = refnumPart;
	}


	@Column(name="REG_PUB_ID", nullable=false, length=2)
	public String getRegPubId() {
		return this.regPubId;
	}

	public void setRegPubId(String regPubId) {
		this.regPubId = regPubId;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_INSCRIP")
	public Date getTsInscrip() {
		return this.tsInscrip;
	}

	public void setTsInscrip(Date tsInscrip) {
		this.tsInscrip = tsInscrip;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}